//
//  RTCVideoView.m
//  avd_sdk_plugin
//
//  Created by 3tee on 2023/6/12.
//

#import "RTCVideoView.h"

@implementation RTCVideoView

-(void)dealloc{
    NSLog(@"RTCVideoView dealloc♻️");
}

- (instancetype)initWithWithFrame:(CGRect)frame viewIdentifier:(int64_t)viewId arguments:(id)args binaryMessenger:(NSObject<FlutterBinaryMessenger> *)messenger {
    self = [super initWithFrame:frame];
    if (self) {
        NSDictionary *creationParams = (NSDictionary *)args;
        NSString * tag = creationParams[@"data"][@"tagId"];
        _tagId = tag;
        self.backgroundColor = [UIColor whiteColor];
        self.view.layer.borderWidth = 1;
        self.view.layer.borderColor = [UIColor grayColor].CGColor;
    }
    return self;
}

- (UIView *)view {
    return self;
}

- (void)dispose {

}


@end
